//利用方法重载，编写三个重载方法，分别求出int类型绝对值，float类型绝对值和double类型绝对值。
public class Demo3 {
	int num1;
	float num2;
	double num3;

	public Demo3() {

	}

	public int Demo3(int num1) {
		this.num1 = num1;
		return Math.abs(num1);
	}

	public float Demo3(float num2) {
		this.num2 = num2;
		return Math.abs(num2);
	}

	public double Demo3(double num3) {
		this.num3 = num3;
		return Math.abs(num3);
	}

}
